package com.hou.solr;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

//如果有关系型数据库依赖,项目启动时会自动寻找配置创建DataSource加入容器
//可以在这个注解里面先exclude排除掉
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class SolrApplication {

    public static void main(String[] args) {
        SpringApplication.run(SolrApplication.class, args);
    }
}
